package com.ktwlsoft.archivemanage.payload.question;

import com.ktwlsoft.archivemanage.domain.dao.entity.Question;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author JokerMo
 * @version 1.0
 * @date 2019/12/13 16:40
 */
@Data
public class QuestionUpOrDownRequest {
    @ApiModelProperty("问题id")
    @NotNull(message = "为题id不可为空")
    private Long id;

    @ApiModelProperty("状态")
    private Question.State state;
}
